package com.ischoolbar.programmer.dao.admin;

import com.ischoolbar.programmer.entity.admin.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RoleDao {
    public abstract void add(Role role);
    public abstract void edit(Role role);
    public abstract List<Role> findRoleList(Map<String, Object> map);
    public abstract void deleteRole(Integer id);
    public abstract Integer totalCount();
}
